import { Menus } from '@/types/menu';

export const menuData: Menus[] = [
    {
        id: '0',
        title: '系统首页',
        index: '/home/dashboard',
        icon: 'Odometer',
        adminOnly: false,
    },
    {
        id: '1',
        title: '系统管理',
        index: '1',
        icon: 'HomeFilled',
        adminOnly: true,
        children: [
            {
                id: '11',
                pid: '1',
                index: '/home/system-user',
                title: '用户管理',
                adminOnly: true,
            },
            {
                id: '12',
                pid: '1',
                index: '/home/system-role',
                title: '角色管理',
                adminOnly: true,
            },
        ],
    },
    {
        id: '2',
        title: '组件',
        index: '2',
        icon: 'Calendar',
        adminOnly: false,
        children: [
            {
                id: '22',
                pid: '2',
                index: '/home/picture',
                title: '图像识别',
                adminOnly: false,
            },
            {
                id: '23',
                pid: '2',
                index: '/home/history',
                title: '历史记录',
                adminOnly: false,
            },
        ],
    },
];